package com.zhang.controller;

/**
 * @author ZhangJunqi
 * @Date 2022/2/3 -21:16
 */

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;

@Controller
@RequestMapping(value = "/hello")
public class HelloController {
    @RequestMapping(value = "/hello")
    @ResponseBody
    public String helloWorld(){
        return "Hello World!!!";
    }
}
